package demo1;

public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList=new MySingleList();
        mySingleList.creatList();
        MySingleList.ListNode newHead= mySingleList.reverseList();
        mySingleList.display();
        //mySingleList.display(newHead);
    }
}

//        System.out.println("12344");
//        System.out.println(mySingleList.size());
//        System.out.println(mySingleList.contains(12));
//        mySingleList.addFirst(13);
//        mySingleList.addLast(56);
//        mySingleList.display();
//        mySingleList.addIndex(2,99);
//        mySingleList.display();
//        mySingleList.remove(12);
//        mySingleList.display();
//
//        mySingleList.removeAll(13);
//        mySingleList.display();
//        //mySingleList.clear();
//        //mySingleList.display();